#ifndef _MODBUSCRC_H_
#define _MODBUSCRC_H_
#include "hal/OsDeclarations.h"
#ifdef __cplusplus
extern "C" {
#endif

UINT16 ModbusCRC(UINT8* pucFrame, UINT16 usLen);

UINT16 CheckCRC(UINT32* pucFrame, UINT16 usLen);

UINT32 crc32(const UINT8* buf, UINT32 size);
#ifdef __cplusplus
}
#endif
#endif
